/*
 *@# FlashLink Created on 2004-8-27
 *
 *
 * Copyright: Bluejay Networks Inc. & Inquiry Management Systems Ltd.  2004
 *
 * This software is the proprietary information of Bluejay Networks Inc. & 
 * Inquiry Management Systems Ltd.  
 * Use is subject to license terms.
 */
package com.ims.iaa.AD;

import com.ims.iaa.IaaDebug; 
/** 
*
* An <code>AdApplet</code> object represents the object wrapper of the applet 
* data that ad spiders had collected.
*
* @see SpiderDBConnection
*
* @author ShengMeng Bai
*
* @version 1.00, 27 AUG. 2004
*/
public class AdApplet extends AdData {
	/**
	  * Flag indicates save applet data or not. Default is true. 
	  * Used by AppletLink when connected to the actual applet on the web.
	  *
	  * @see AppletLink#connectToResource
	  */
	static public final boolean SAVEAPPLET = true;

	/**
	  * Flag specifies the max jar file size. Default is 100k. 
	  * Used by JavaLink when connected to the actual jar file on the web.
	  *
	  * @see AppletLink#connectToResource
	  */
	static public final int MAXFILESIZE = IaaDebug.MaxFlashSize;
	
	static private final int DEFAULT_APPLET_WIDTH = 300;
	static private final int DEFAULT_APPLET_HEIGHT = 200;
	
	public AdApplet(){
		setWidth(DEFAULT_APPLET_WIDTH);
		setHeight(DEFAULT_APPLET_HEIGHT);
	}
}
